package basic.thread;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

import basic.util.UnicodeString;

public class JudgeNanos {
	public static void main(String[] args) {
		String path = ClassLoader.getSystemResource("basic/thread/SystemNanoTimes.dat").getPath();
		//System.out.println(path);
		try {
			BufferedReader inputReader = new BufferedReader(new FileReader(path));
			String line = inputReader.readLine();
			int line_num=1;
			while (line != null) {
				//System.out.println(UnicodeString.convert2CommonStr(line));
				BufferedReader inner = new BufferedReader(new FileReader(path));
				String inline = inner.readLine();
				int inline_num=1;
				while(inline!=null){
					if(inline_num>line_num && line.equals(inline)){
						System.out.println(line_num+":"+inline_num+":"+line);
					}
					inline = inner.readLine();
					inline_num++;
				}
				inner.close();

				line = inputReader.readLine();
				line_num++;
			}
			inputReader.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
